/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package mvp.levelup.oop2;

/**
 *
 * @author WORKSPOT2
 */
public class Employee extends Person
{
    private int salary;
    private String skills;

    public Employee(int salary, String skills, String name, String surname, int sex)
    {
        super(name, surname, sex);
        this.salary = salary;
        this.skills = skills;
    }

    public int getSalary()
    {
        return salary;
    }

    public String getSkills()
    {
        return skills;
    }

    @Override
    public void beHappyMan()
    {
        this.salary = this.salary * 2;
    }
    
}
